﻿using System;
using System.Runtime.InteropServices;

namespace Moonlite.Modules.Editors.ImageViewer.Dds
{
    [StructLayout(LayoutKind.Sequential)]
    internal struct DdsHeader
    {
        public uint dwMagic;
        public uint dwSize;
        public uint dwFlags;
        public uint dwHeight;
        public uint dwWidth;
        public uint dwPitchOrLinearSize;
        public uint dwDepth;
        public uint dwMipMapCount;
        public uint[] dwReserved1;
        public DdsPixelFormat dwPixelFormat;
        public uint dwCaps1;
        public uint dwCaps2;
        public uint dwCaps3;
        public uint dwCaps4;
        public uint dwReserved2;
    }
}
